package cn.tedu.service.service.impl;

import cn.tedu.service.dao.UserMapper;
import cn.tedu.service.pojo.entity.User;
import cn.tedu.service.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> list() {
        return userMapper.list();
    }
}
